﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Framework.Define;
using Framework.Singleton;

namespace Framework.Scene
{
    public class SceneBase<T> : SingletonMonoBehaviour<T>
        where T : SceneBase<T>
    {
        public static string SingletonPath
        {
            get { return FrameworkDefine.SceneRootPath; }
        }

        public void Init()
        {
            Debug.LogError("SceneBase Init");
            OnInit();
        }

        protected virtual void OnInit()
        {
        }
    }
}